import java.util.Scanner;

public class demo07 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入姓名");
        String name= sc.next();
        System.out.println("请输入成绩");
        double c = sc.nextDouble();

        if (c>90){
            System.out.print("学员："+name);
            System.out.print("成绩："+c);
            System.out.print("等级为优秀");
        }

        if (c>80 && c<=90){
            System.out.print("学员："+name);
            System.out.print("成绩："+c);
            System.out.print("等级为良好");
        }

        if (c>=60 && c<=80){
            System.out.print("学员："+name);
            System.out.print("成绩："+c);
            System.out.print("等级为及格");
        }

        if (c>=0 && c<60){
            System.out.print("学员："+name);
            System.out.print("成绩："+c);
            System.out.print("等级为不及格");
        }
    }
}
